package com.haoxuer.discover.web;

import com.haoxuer.discover.web.data.entity.WebTheme;
import com.haoxuer.imake.ChainMake;
import com.haoxuer.imake.template.hibernate.TemplateHibernateDir;
import com.haoxuer.imake.templates.adminlte.TemplateAdminLTE;

import java.io.File;

/**
 * Hello world!
 */
public class App {
  public static void main(String[] args) {
    File file = new File("E:\\mvnspace\\xjob\\web\\src\\main\\webapp\\WEB-INF\\ftl\\admin");
    ChainMake make = new ChainMake(TemplateAdminLTE.class, TemplateHibernateDir.class);
    make.setAction("com.ada.web.controller.admin");
    make.setView(file);
    make.setDao(true);
    make.setService(true);
    make.setAction(false);
    make.setView(false);
    make.setMenus("1,16,28");
    // UserOauthToken.
    make.makes(WebTheme.class);
  }
}
